'''
Created on 16.02.2011

@author: public
'''

class SyncStats:
    '''
    Plain record, containing syncronization statistics 
    '''
    urlsTotal = 0
    
    filesUpdated = 0
    
    filesWithoutChanges = 0
    
    errorsThrown = 0
        
    def __str__(self):
        return 'sync stats: updated [%d] unchanged [%d] errors [%d] total [%d]'  \
            % (self.filesUpdated, self.filesWithoutChanges, self.errorsThrown, self.urlsTotal)

        